
const name = '互联网核心平台' // 网页标题
const path = require('path')

function resolve(dir) {
  return path.join(__dirname, dir)
}
module.exports = {
    chainWebpack: config => { 
      config.externals({
        vue: "Vue", 
      }); 
    },
    configureWebpack: {
      devtool: "eval-source-map"
    },
    publicPath: './',
    assetsDir: 'static',
    lintOnSave: false,
    configureWebpack: {
      name: name,
      resolve: {
        alias: {
          '@': resolve('src')
        }
      }
    },
    css: {
      loaderOptions: {
        sass: {
          sassOptions: {
            outputStyle: 'expanded'
          }
        }
      }
    },
  };
  